<?php
/**
 * Created by JetBrains PhpStorm.
 * User: syanlik
 * Date: 29.11.2011
 * Time: 08:26
 * To change this template use File | Settings | File Templates.
 */
function limango_register($HASHKey,$surnameField,$emailField,$nameField){
 $cURL = curl_init();
// Limangonun size vereceği url
// HASHKey -> Limango'nun size vereceği HashKey
 $APIURL="http://www.limango.com.tr/services.php?face2kids=true";

		$curlString="&HASHKey=".$HASHKey."&surname=".$surnameField."&email=".$emailField."&name=".$nameField;
		echo $curlString;
		curl_setopt($cURL,CURLOPT_URL,$APIURL);
		curl_setopt($cURL,CURLOPT_POST,1);
		curl_setopt($cURL,CURLOPT_RETURNTRANSFER,1);
		curl_setopt($cURL,CURLOPT_POSTFIELDS,$curlString);
		$Result = curl_exec($cURL);
		curl_close($cURL);
return $Result;
}